package com.ssy.lingxi.message.enums;

import com.ssy.lingxi.common.language.LanguageHolder;
import com.ssy.lingxi.message.constant.MessageConstants;

import java.util.Arrays;
import java.util.Map;
import java.util.stream.Collectors;

/**
 * 消息提醒枚举
 * @author yzc
 * @version 2.0.0
 * @date 2020/11/30
 */
public enum MessageNoticeEnum {

    // ==================================================商品==================================================
    /**
     * 能力中心首页
     * 4.1、商品能力--商品发布
     * 4.1.1、商品需要发送的消息：商品经平台审核后
     * 4.1.2、消息模板：您的商品${商品名称}平台审核${审核结果}，请及时处理！
     *
     * 平台首页
     * 4.2、商品审核--待审核商品
     * 4.2.1、商品审核需要发送的消息：待审核商品
     * 4.2.2、消息模板：您有${会员名称}提交商品审核申请，请及时处理！
     *
     */
    commodity_apply(MessageConstants.platform, "商品发布", "product", "您有{0}提交商品审核申请，请及时处理！", "/productManage/commodity/productWillCheck", ""),
    commodity_audit(MessageConstants.ability, "商品发布", "product", "您的商品{0}平台审核{1}，请及时处理！", "/memberCenter/commodityAbility/commodity/products", ""),

    // ==================================================品牌==================================================
    /**
     * 能力中心首页
     * 4.2、商品能力--品牌申请
     * 4.2.1、品牌需要发送的消息：品牌经平台审核后
     * 4.2.2、消息模板：您的品牌${品牌名称}平台审核${审核结果}，请及时处理！
     *
     * 平台首页
     * 4.1、品牌审核--待审核品牌
     * 4.1.1、品牌审核需要发送的消息：待审核品牌
     * 4.1.2、消息模板：您有${会员名称}提交品牌审核申请，请及时处理！
     *
     */
    brand_apply(MessageConstants.platform, "品牌申请", "product", "您有{0}提交商品审核申请，请及时处理！", "/productManage/trademark/trademarkWillCheck", ""),
    brand_audit(MessageConstants.ability, "品牌申请", "product", "您的品牌{0}平台审核{1}，请及时处理！", "/memberCenter/commodityAbility/trademark/trademarkWillCheck", ""),

    /**
     * 能力中心首页
     * 4.3、会员能力--会员管理
     * 4.3.1、会员管理需要发送的消息：待提交审核会员、待审核会员（一级）、待审核会员（二级）、待确认会员审核结果，以上消息需要根据工作流情况增加或减少
     * 4.3.2、消息模板：您有新申请的会员${会员角色：会员名称}需要${处理动作}，请及时处理！
     *
     */
    member_ability_submit(MessageConstants.ability, "会员管理", "member", "您有新申请的会员{0}：{1}需要处理[待提交审核会员]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyComingData", ""),
    member_ability_audit_step_1(MessageConstants.ability, "会员管理", "member", "您有新申请的会员{0}：{1}需要处理[待审核会员（一级）]，请及时处理！", "memberCenter/memberAbility/manage/memberPrVerifyComing1", ""),
    member_ability_audit_step_2(MessageConstants.ability, "会员管理", "member", "您有新申请的会员{0}：{1}需要处理[待审核会员（二级）]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyComing2", ""),
    member_ability_audit_confirm(MessageConstants.ability, "会员管理", "member", "您有新申请的会员{0}：{1}需要处理[待确认会员审核结果]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyComingConfirm", ""),

    // ==================================================会员==================================================
    /**
     * 平台首页
     * 4.3、平台会员管理
     * 4.3.1、会员管理需要发送的消息：待提交审核会员、待审核会员（一级）、待审核会员（二级）、待确认会员审核结果
     * 4.3.2、消息模板：您有新申请的会员${会员角色：会员名称}需要${处理动作}，请及时处理！
     *
     */
    member_platform_submit(MessageConstants.platform, "会员管理", "member", "您有新申请的会员{0}：{1}需要处理[待提交审核会员]，请及时处理！", "/memberAbility/manage/memberPrSubmit", ""),
    member_platform_audit_step_1(MessageConstants.platform, "会员管理", "member", "您有新申请的会员{0}：{1}需要处理[待审核会员（一级）]，请及时处理！", "/memberAbility/manage/memberPr1", ""),
    member_platform_audit_step_2(MessageConstants.platform, "会员管理", "member", "您有新申请的会员{0}：{1}需要处理[待审核会员（二级）]，请及时处理！", "/memberAbility/manage/memberPr2", ""),
    member_platform_audit_confirm(MessageConstants.platform, "会员管理", "member", "您有新申请的会员{0}：{1}需要处理[待确认会员审核结果]，请及时处理！", "/memberAbility/manage/memberPrConfirm", ""),

    /**
     * 能力中心首页
     * 4.4、会员能力--会员信息查询
     * 4.4.1、会员信息查询需要发送的消息：平台审核完成后、上级会员审核完成后
     * 4.4.2、消息模板：
     * 4.4.2.1、平台审核完成后的消息模板：您申请成为平台${会员角色}会员，平台审核${审核结果}，请及时处理！
     * 4.4.2.2、上级会员审核后的消息模板：您申请成为${上级会员名称}的${会员角色}会员，审核${审核结果}，请及时处理！
     *
     */
    platform_member_audit(MessageConstants.ability, "会员信息查询", "member", "您申请成为平台{0}会员，平台审核{1}，请及时处理！", "/memberCenter/memberAbility/manage/maintain", ""),
    up_member_audit(MessageConstants.ability, "会员信息查询", "member", "您申请成为{0}的{1}会员，审核{2}，请及时处理！", "/memberCenter/memberAbility/manage/maintain", ""),

    // ==================================================采购询价==================================================
    // update log: 需求报价 ==v2名称变更==> 采购询价
    /**
     * 能力中心首页
     * 4.5、采购能力--采购询价
     * 4.5.1、采购询价需要发送的消息：待提交审核采购需求单、待审核采购需求单（一级）、待审核采购需求单（二级）、待提交采购需求单
     * 4.5.2、消息模板：您有新的采购需求单${采购需求单号}${需求摘要}需要${处理动作}，请及时处理！
     *
     * 平台首页
     * 4.4、需求单审核--待审核需求单
     * 4.4.1、需求单审核需要发送的消息：待审核需求单
     * 4.4.2、消息模板：您有新的需求单${需求单号}${需求摘要}需要${处理动作}，请及时处理！
     *
     */
    demand_publish_wait_audit(MessageConstants.ability, "采购询价", "dq", "您有新的采购需求单{0}{1}需要处理[待提交审核需求单]，请及时处理！", "/memberCenter/procurementAbility/purchaseInquiry/addInquiry", ""),
    demand_publish_audit_step_1(MessageConstants.ability, "采购询价", "dq", "您有新的采购需求单{0}{1}需要处理[待审核需求单（一级）]，请及时处理！", "/memberCenter/procurementAbility/purchaseInquiry/auditInquiryOne", ""),
    demand_publish_audit_step_2(MessageConstants.ability, "采购询价", "dq", "您有新的采购需求单{0}{1}需要处理[待审核需求单（二级）]，请及时处理！", "/memberCenter/procurementAbility/purchaseInquiry/auditInquiryTwo", ""),
    demand_publish_submit(MessageConstants.ability, "采购询价", "dq", "您有新的采购需求单{0}{1}需要处理[待提交需求单]，请及时处理！", "/memberCenter/procurementAbility/purchaseInquiry/submitInquiry", ""),
    demand_publish_audit(MessageConstants.platform, "采购询价", "dq", "您有新的采购需求单{0}{1}需要处理[待审核需求单]，请及时处理！", "/purchaseManage/demandVouch/demandInquiry", ""),

    /**
     * 能力中心首页
     * 4.6、采购能力--报价
     * 4.5.1、报价需要发送的消息：待提交审核报价单、待审核报价单（一级）、待审核报价单（二级）、待提交报价单
     * 4.5.2、消息模板：您有新的报价单${报价单号}${报价单摘要}需要${处理动作}，请及时处理！
     *
     */
    demand_quotation_wait_audit(MessageConstants.ability, "报价", "dq", "您有新的报价单{0}{1}需要处理[待提交审核报价单]，请及时处理！", "/memberCenter/procurementAbility/offter/offter", ""),
    demand_quotation_audit_step_1(MessageConstants.ability, "报价", "dq", "您有新的报价单{0}{1}需要处理[待审核报价单（一级）]，请及时处理！", "/memberCenter/procurementAbility/offter/auditOffterOne", ""),
    demand_quotation_audit_step_2(MessageConstants.ability, "报价", "dq", "您有新的报价单{0}{1}需要处理[待审核报价单（二级）]，请及时处理！", "/memberCenter/procurementAbility/offter/auditOffterTwo", ""),
    demand_quotation_submit(MessageConstants.ability, "报价", "dq", "您有新的报价单{0}{1}需要处理[待提交报价单]，请及时处理！", "/memberCenter/procurementAbility/offter/submitOffter", ""),

    /**
     * 能力中心首页
     * 4.7.1、确认报价需要发送的消息：待比价、待审核授标结果（一级）、待审核授标结果（二级）、待确认授标结果
     * 4.7.2、待比价消息模板：您有新一轮的比价${需求单号}${需求摘要}需要处理，请及时处理！
     * 4.7.3、待审核授标结果（一级）、待审核授标结果（二级）、待确认授标结果消息模板：您有新的采购询价授标结果${需求单号}${需求摘要}需要${处理动作}，请及时处理！
     *
     */
    confirm_demand_quotation_wait_audit(MessageConstants.ability, "确认报价", "dq", "您有新一轮的比价{0}{1}需要处理，请及时处理！", "/memberCenter/procurementAbility/confirmOffer/toComparePrices", ""),
    confirm_demand_quotation_audit_step_1(MessageConstants.ability, "确认报价", "dq", "您有新的采购询价授标结果{0}{1}需要处理[待审核报价单（一级）]，请及时处理！", "/memberCenter/procurementAbility/confirmOffer/auditResultsOne", ""),
    confirm_demand_quotation_audit_step_2(MessageConstants.ability, "确认报价", "dq", "您有新的采购询价授标结果{0}{1}需要处理[待审核报价单（二级）]，请及时处理！", "/memberCenter/procurementAbility/confirmOffer/auditResultsTwo", ""),
    confirm_demand_quotation_confirm(MessageConstants.ability, "确认报价", "dq", "您有新的采购询价授标结果{0}{1}需要处理[待确认报价单]，请及时处理！", "/memberCenter/procurementAbility/confirmOffer/confirmResults", ""),

    // ==================================================商品报价==================================================
    /**
     * 能力中心首页
     * 4.8、交易能力--商品询价
     * 4.8.1、商品询价需要发送的消息：待提交审核询价单、待审核询价单（一级）、待审核询价单（二级）、待提交询价单
     * 4.8.2、消息模板：您有新的询价单${询价单号}${询价单摘要}需要${处理动作}，请及时处理！
     *
     */
    product_inquiry_wait_audit(MessageConstants.ability, "商品询价", "iq", MessageNoticeEnum.productInquiryPre+"{0}{1}需要处理[待提交审核询价单]，请及时处理！", "/memberCenter/tranactionAbility/productInquiry/waitAddInquiry", ""),
    product_inquiry_audit_step_1(MessageConstants.ability, "商品询价", "iq", MessageNoticeEnum.productInquiryPre+"{0}{1}需要处理[待审核询价单（一级）]，请及时处理！", "/memberCenter/tranactionAbility/productInquiry/waitAuditInquiryOne", ""),
    product_inquiry_audit_step_2(MessageConstants.ability, "商品询价", "iq", MessageNoticeEnum.productInquiryPre+"{0}{1}需要处理[待审核询价单（二级）]，请及时处理！", "/memberCenter/tranactionAbility/productInquiry/waitAuditInquiryTwo", ""),
    product_inquiry_submit(MessageConstants.ability, "商品询价", "iq", MessageNoticeEnum.productInquiryPre+"{0}{1}需要处理[待提交询价单]，请及时处理！", "/memberCenter/tranactionAbility/productInquiry/waitSubmitInquiry", ""),

    /**
     * 能力中心首页
     * 4.9、交易能力--询价报价
     * 4.9.1、询价报价需要发送的消息：待提交审核报价单、待审核报价单（一级）、待审核报价单（二级）、待提交报价单
     * 4.9.2、消息模板：您有新的报价单${报价单号}${报价单摘要}需要${处理动作}，请及时处理！
     *
     */
    inquiry_quotation_wait_submit(MessageConstants.ability, "询价报价", "iq", "您有新的报价单{0}{1}需要处理[报价]，请及时处理！", "/memberCenter/tranactionAbility/inquiryOffer/offerSearch", ""),
    inquiry_quotation_wait_audit(MessageConstants.ability, "询价报价", "iq", "您有新的报价单{0}{1}需要处理[待提交审核报价单]，请及时处理！", "/memberCenter/tranactionAbility/inquiryOffer/waitAddOffer", ""),
    inquiry_quotation_audit_step_1(MessageConstants.ability, "询价报价", "iq", "您有新的报价单{0}{1}需要处理[待审核报价单（一级）]，请及时处理！", "/memberCenter/tranactionAbility/inquiryOffer/waitAuditOfferOne", ""),
    inquiry_quotation_audit_step_2(MessageConstants.ability, "询价报价", "iq", "您有新的报价单{0}{1}需要处理[待审核报价单（二级）]，请及时处理！", "/memberCenter/tranactionAbility/inquiryOffer/waitAuditOfferTwo", ""),
    inquiry_quotation_submit(MessageConstants.ability, "询价报价", "iq", "您有新的报价单{0}{1}需要处理[待提交报价单]，请及时处理！", "/memberCenter/tranactionAbility/inquiryOffer/waitSubmitOffer", ""),

    /**
     * 确认报价结果
     * 您的报价单${报价单号}${报价单摘要}[已确认报价]，请及时处理！
     */
    inquiry_quotation_result(MessageConstants.ability, "询价报价", "iq", "您的报价单${报价单号}${报价单摘要}[已确认报价]，请及时处理！", "/memberCenter/tranactionAbility/inquiryOffer/offerSearch", ""),

    /**
     * 能力中心首页
     * 4.10、交易能力--确认询价报价
     * 4.10.1、确认询价报价需要发送的消息：待提交审核报价单、待审核报价单（一级）、待审核报价单（二级）、待确认报价单
     * 4.10.2、消息模板：您有新的报价单${报价单号}${报价单摘要}需要${处理动作}，请及时处理！
     *
     */
    confirm_inquiry_quotation_wait_audit(MessageConstants.ability, "确认询价报价", "iq", "您有新的报价单{0}{1}需要处理[待提交审核报价单]，请及时处理！", "/memberCenter/tranactionAbility/confirmOffer/waitSubmitAuditOffer", ""),
    confirm_inquiry_quotation_audit_step_1(MessageConstants.ability, "确认询价报价", "iq", "您有新的报价单{0}{1}需要处理[待审核报价单（一级）]，请及时处理！", "/memberCenter/tranactionAbility/confirmOffer/waitAuditInquiryOne", ""),
    confirm_inquiry_quotation_audit_step_2(MessageConstants.ability, "确认询价报价", "iq", "您有新的报价单{0}{1}需要处理[待审核报价单（二级）]，请及时处理！", "/memberCenter/tranactionAbility/confirmOffer/waitAuditInquiryTwo", ""),
    confirm_inquiry_quotation_confirm(MessageConstants.ability, "确认询价报价", "iq", "您有新的报价单{0}{1}需要处理[待确认报价单]，请及时处理！", "/memberCenter/tranactionAbility/confirmOffer/waitSubmitOffer", ""),

    // ==================================================订单==================================================
    /**
     * 能力中心首页
     * 4.11、交易能力--采购订单
     * 4.11.1、采购订单需要发送的消息：待提交审核订单、待审核订单（一级）、待审核订单（二级）、待提交订单、待确认电子合同、待支付订单、待新增采购入库单、待确认收货订单、待归档订单、待评价订单
     * 4.11.2、消息模板：您有新的订单${订单号}${订单摘要}需要${处理动作}，请及时处理！
     */
    procurement_order_wait_audit(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待提交审核订单]，请及时处理！", "/memberCenter/order/purchaseOrder/readyAddCashOrder", ""),
    procurement_order_audit_step_1(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待审核订单（一级）]，请及时处理！", "/memberCenter/order/purchaseOrder/firstApprovedOrder", ""),
    procurement_order_audit_step_2(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待审核订单（二级）]，请及时处理！", "/memberCenter/order/purchaseOrder/secondApprovedOrder", ""),
    procurement_order_submit(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待提交订单]，请及时处理！", "/memberCenter/order/purchaseOrder/readySubmitOrder", ""),
    procurement_order_contract(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待确认电子合同]，请及时处理！", "/memberCenter/order/purchaseOrder/readyConfirmContract", ""),
    procurement_order_payment(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待支付订单]，请及时处理！", "/memberCenter/order/purchaseOrder/readyPayOrder", ""),
    procurement_order_storage(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待新增采购入库单]，请及时处理！", "/memberCenter/order/purchaseOrder/addPurchaseWarehouseOrder", ""),
    procurement_order_receive(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待确认收货订单]，请及时处理！", "/memberCenter/order/purchaseOrder/readyReceiveOrder", ""),
    procurement_order_archive(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待归档订单]，请及时处理！", "/memberCenter/order/purchaseOrder/readyFileOrder", ""),
    procurement_order_comment(MessageConstants.ability, "采购订单", "order", "您有新的订单{0}{1}需要处理[待评价订单]，请及时处理！", "/memberCenter/order/purchaserEvaluation/unevaluated", ""),

    /**
     * 供应商审核结果
     * 您提交的订单${订单号}${订单摘要}，审核不通过，请及时处理！
     */
    procurement_order_audit_result(MessageConstants.ability, "采购订单", "order", "您提交的订单{0}{1}，审核不通过，请及时处理！", "/memberCenter/order/purchaseOrder/readyAddCashOrder", ""),

    /**
     * 能力中心首页
     * 4.12、交易能力--销售订单
     * 4.12.1、销售订单需要发送的消息：待提交审核订单、待审核订单（一级）、待审核订单（二级）、待确认订单、待确认支付结果订单、待新增销售发货单、待新增物流单、待确认发货订单、待确认回单订单、待归档订单、待评价订单
     * 4.12.2、消息模板：您有新的订单${订单号}${订单摘要}需要${处理动作}，请及时处理！
     *
     * 4.5、订单管理--待确认支付结果订单
     * 4.5.1、订单管理需要发送的消息：待确认支付结果订单
     * 4.5.2、消息模板：您有新的订单${订单号}${订单摘要}需要${处理动作}，请及时处理！
     *
     */
    sell_order_wait_audit(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待提交审核订单]，请及时处理！", "/memberCenter/order/saleOrder/readyApprovedOrder", ""),
    sell_order_audit_step_1(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待审核订单（一级）]，请及时处理！", "/memberCenter/order/saleOrder/firstApprovedOrder", ""),
    sell_order_audit_step_2(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待审核订单（二级）]，请及时处理！", "/memberCenter/order/saleOrder/secondApprovedOrder", ""),
    sell_order_confirm(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待确认订单]，请及时处理！", "/memberCenter/order/saleOrder/readyConfirmOrder", ""),
    sell_order_confirm_payment(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待确认支付结果订单]，请及时处理！", "/memberCenter/order/saleOrder/readyPayResult", ""),
    sell_order_shipment(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待新增销售发货单]，请及时处理！", "/memberCenter/order/saleOrder/addSaleDelevedOrder", ""),
    sell_order_logistics(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待新增物流单]，请及时处理！", "/memberCenter/order/saleOrder/readyAddLogisticsOrder", ""),
    sell_order_shipment_confirm(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待确认发货订单]，请及时处理！", "/memberCenter/order/saleOrder/readyConfirmDelevedOrder", ""),
    sell_order_receipt(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待确认回单订单]，请及时处理！", "/memberCenter/order/saleOrder/readyConfirmReturnOrder", ""),
    sell_order_archive(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待归档订单]，请及时处理！", "/memberCenter/order/saleOrder/readyReturnDocument", ""),
    sell_order_comment(MessageConstants.ability, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待评价订单]，请及时处理！", "/memberCenter/order/supplierEvaluation/unevaluated", ""),
    sell_order_platform_confirm_payment(MessageConstants.platform, "销售订单", "order", MessageNoticeEnum.sellOrderPre+"{0}{1}需要处理[待确认支付结果订单]，请及时处理！", "/orderSystem/readyConfirmPayList", ""),
    sell_deliver_self_order(MessageConstants.ability, "销售订单", "order", "您的订单{0}{1}已发货，请到{2}提货，自提码为{3}", "/memberCenter/order/saleOrder/readyConfirmDelevedOrder", ""),
    sell_deliver_order(MessageConstants.ability, "销售订单", "order", "您的订单{0}{1}已发货，物流公司：{2}，物流单号：{3}", "/memberCenter/order/saleOrder/readyConfirmDelevedOrder", ""),
    // ==================================================授信==================================================
    /**
     * 能力中心首页
     * 4.13、支付能力--授信申请
     * 4.13.1、授信申请需要发送的消息：上级会员确认授信申请单后、已出账单后、还款到期日前3天提醒、逾期1天提醒
     * 4.13.2、确认授信申请单后消息模板：您的授信申请单${申请单号}，${上级会员名称}审核${审核结果}，请及时处理！
     * 4.13.3、已出账单后消息模板：您本月账单已产生，账单金额：${账单金额}，最后还款日期：${还款日期}，请及时查看！
     * 4.13.4、还款提醒消息模板：您本月需还款：${账单金额}，最后还款日期：${还款日期}，请及时还款！
     * 4.13.5、逾期提醒消息模板：您本月需还款：${账单金额}，最后还款日期：${还款日期}，您已逾期${逾期天数}天，请及时还款！以免影响您的信用！
     *
     */
    credit_apply(MessageConstants.ability, "授信申请", "capital", "您的授信申请单{0}，{1}审核{2}，请及时处理！", "/memberCenter/payandSettle/creditApplication/quotaFormQuery", ""),
    charge_off(MessageConstants.ability, "授信申请", "capital", "您本月账单已产生，账单金额：{0}，最后还款日期：{1}，请及时查看！", "/memberCenter/payandSettle/creditApplication/quotaMenage", ""),
    repayment(MessageConstants.ability, "授信申请", "capital", "您本月需还款：{0}，最后还款日期：{1}，请及时还款！", "/memberCenter/payandSettle/creditApplication/quotaFormQuery", ""),
    overdue(MessageConstants.ability, "授信申请", "capital", "您本月需还款：{0}，最后还款日期：{1}，您已逾期{2}天，请及时还款！以免影响您的信用！", "/memberCenter/payandSettle/creditApplication/quotaFormQuery", ""),

    /**
     * 能力中心首页
     * 4.14、支付能力--授信处理
     * 4.14.1、授信处理需要发送的消息：待提交审核授信申请单、待审核授信申请单（一级）、待审核授信申请单（二级）、待审核授信申请单（三级）、待确认信申请交单
     * 4.14.2、消息模板：您有${申请会员}提交的授信申请单${申请单号}需要${处理动作}，请及时处理！
     *
     */
    credit_handle_wait_submit(MessageConstants.ability, "授信处理", "capital", "您有{0}提交的授信申请单{1}需要处理[待提交审核授信申请单]，请及时处理！", "/memberCenter/payandSettle/creditManage/quotaPrSubmit", ""),
    credit_handle_audit_1(MessageConstants.ability, "授信处理", "capital", "您有{0}提交的授信申请单{1}需要处理[待审核授信申请单（一级）]，请及时处理！", "/memberCenter/payandSettle/creditManage/quotaPr1", ""),
    credit_handle_audit_2(MessageConstants.ability, "授信处理", "capital", "您有{0}提交的授信申请单{1}需要处理[待审核授信申请单（二级）]，请及时处理！", "/memberCenter/payandSettle/creditManage/quotaPr2", ""),
    credit_handle_audit_3(MessageConstants.ability, "授信处理", "capital", "您有{0}提交的授信申请单{1}需要处理[待审核授信申请单（三级）]，请及时处理！", "/memberCenter/payandSettle/creditManage/quotaPr3", ""),
    credit_handle_submit(MessageConstants.ability, "授信处理", "capital", "您有{0}提交的授信申请单{1}需要处理[待确认授信申请单]，请及时处理！", "/memberCenter/payandSettle/creditManage/quotaPrConfirm", ""),

    // ==================================================提现==================================================
    /**
     * 能力中心首页
     * 4.13、支付能力--申请提现
     * 4.13.1、申请提现需要发送的消息：上级会员或平台审核提现后、上级会员或平台支付提现后
     * 4.13.2、审核提现消息模板：您的提现申请${审核结果}，请知悉！
     * 4.13.3、支付提现消息模板：您的提现申请${提现结果}，请及时查看！
     *
     */
    withdraw_apply(MessageConstants.ability, "申请提现", "capital", "您的提现申请{0}，请知悉！", "/memberCenter/payandSettle/creditApplication/quotaFormQuery", ""),
    withdraw_audit(MessageConstants.ability, "申请提现", "capital", "您的提现申请{0}，请及时查看！", "/memberCenter/payandSettle/creditApplication/quotaFormQuery", ""),

    /**
     * 能力中心首页
     * 4.14、支付能力--资金账户管理
     * 4.14.1、资金账户管理需要发送的消息：待审核提现、待支付提现
     * 4.14.2、消息模板：您有${申请会员}提交的提现申请需要${处理动作}，请及时处理！
     *
     * 平台首页
     * 4.6、会员资金账户管理--会员账户管理
     * 4.6.1、会员资金账户管理需要发送的消息：待审核提现、待支付提现
     * 4.6.2、消息模板：您有${申请会员}提交的提现申请需要${处理动作}，请及时处理！
     *
     */
    withdraw_wait_audit(MessageConstants.ability, "资金账户管理", "capital", "您有{0}提交的提现申请需要处理[待审核提现]，请及时处理！", "/memberCenter/payandSettle/amountAccountManage/checkWithdraw", ""),
    withdraw_payment(MessageConstants.ability, "资金账户管理", "capital", "您有{0}提交的提现申请需要处理[待支付提现]，请及时处理！", "/memberCenter/payandSettle/amountAccountManage/paymentWithdraw", ""),
    withdraw_platform_wait_audit(MessageConstants.platform, "资金账户管理", "capital", "您有{0}提交的提现申请需要处理[待审核提现]，请及时处理！", "/settlementManage/capitalAccount/checkWithdraw", ""),
    withdraw_platform_payment(MessageConstants.platform, "资金账户管理", "capital", "您有{0}提交的提现申请需要处理[待支付提现]，请及时处理！", "/settlementManage/capitalAccount/paymentWithdraw", ""),

    /**
     * 能力中心首页
     * 4.15、结算能力--平台代收账款结算
     * 4.15.1、平台代收账款结算需要发送的消息：待对账、待收款
     * 4.15.2、消息模板：您有新的平台代收账款结算单${结算单号}需要${处理动作}，请及时处理！
     *
     * 平台首页
     * 4.7、平台结算管理--代收账款结算
     * 4.7.1、代收账款结算需要发送的消息：待付款
     * 4.7.2、消息模板：您有新的代收账款结算单${结算单号}需要${处理动作}，请及时处理！
     *
     */
    agency_receipt_check(MessageConstants.ability, "平台代收账款结算", "capital", "您有新的平台代收账款结算单{0}需要处理[待对账]，请及时处理！", "/memberCenter/balance/platformSettlement/accountReceivable", ""),
    agency_receipt_upload_bill(MessageConstants.platform, "平台代收账款结算", "capital", "您有新的代收账款结算单{0}需要处理[待付款]，请及时处理！", "/settlementManage/platformSettlement/balanced/accountPayable", ""),
    agency_receipt_gathering(MessageConstants.ability, "平台代收账款结算", "capital", "您有新的平台代收账款结算单{0}需要处理[待收款]，请及时处理！", "/memberCenter/balance/platformSettlement/accountReceivable", ""),

    // ==================================================积分==================================================
    /**
     * 能力中心首页
     * 4.16、结算能力--平台积分结算
     * 4.16.1、平台积分结算需要发送的消息：待对账、待收款
     * 4.16.2、消息模板：您有新的平台积分结算单${结算单号}需要${处理动作}，请及时处理！
     *
     * 平台首页
     * 4.8、平台结算管理--积分结算
     * 4.8.1、积分结算需要发送的消息：待付款
     * 4.8.2、消息模板：您有新的平台积分结算单${结算单号}需要${处理动作}，请及时处理！
     *
     */
    integral_check(MessageConstants.ability, "平台积分结算", "integral", "您有新的平台积分结算单{0}需要处理[待对账]，请及时处理！", "/memberCenter/balance/platformSettlement/integral", ""),
    integral_upload_bill(MessageConstants.platform, "平台积分结算", "integral", "您有新的平台积分结算单{0}需要处理[待付款]，请及时处理！", "/settlementManage/platformSettlement/balanced/scorePayable", ""),
    integral_gathering(MessageConstants.ability, "平台积分结算", "integral", "您有新的平台积分结算单{0}需要处理[待收款]，请及时处理！", "/memberCenter/balance/platformSettlement/integral", ""),


    /**
     * 能力中心首页
     * 4.17、结算能力--应付账款结算
     * 4.17.1、应付账款结算需要发送的消息：待付款
     * 4.17.2、消息模板：您有新的应付账款结算单${结算单号}需要${处理动作}，请及时处理！
     *
     */
    payment_settle_payment(MessageConstants.ability, "应付账款结算", "integral", "您有新的应付账款结算单{0}需要处理[待付款]，请及时处理！", "/memberCenter/balance/accountsPayable/settlementList", ""),

    /**
     * 能力中心首页
     * 4.18、结算能力--应收账款结算
     * 4.18.1、应收账款结算需要发送的消息：待对账、待收款、待开票
     * 4.18.2、应收账款消息模板：您有新的应付账款结算单${结算单号}需要${处理动作}，请及时处理！
     * 4.18.3、待开票消息模板：您有${总待开票条数}条应收账款单据需要开票，请及时处理！
     *
     */
    receipt_settle_check(MessageConstants.ability, "应收账款结算", "integral", "您有新的应付账款结算单{0}需要处理[待对账]，请及时处理！", "/memberCenter/balance/accountsReceivable/settlementList", ""),
    receipt_settle_gathering(MessageConstants.ability, "应收账款结算", "integral", "您有新的应付账款结算单{0}需要处理[待收款]，请及时处理！", "/memberCenter/balance/accountsReceivable/settlementList", ""),
    receipt_settle_invoice(MessageConstants.ability, "应收账款结算", "integral", "您有{0}条应收账款单据需要开票，请及时处理！", "/memberCenter/balance/accountsReceivable/invoice", ""),

    // ==================================================物流单==================================================
    /**
     * 能力中心首页
     * 4.19、物流能力--物流单提交
     * 4.19.1、物流单提交需要发送的消息：物流单确认之后
     * 4.19.2、消息模板：您的物流单${物流单号}，${物流服务商名称}确认${确认结果}，请及时处理！
     *
     */
    logistics_order_submit(MessageConstants.ability, "物流单提交", "logistics", "您的物流单{0}，{1}确认{2}，请及时处理！", "/memberCenter/logisticsAbility/logisticsBillSubmit/waitSbumitLogisticsBill", ""),

    /**
     * 能力中心首页
     * 4.20、物流能力--待确认物流单
     * 4.20.1、待确认物流单需要发送的消息：待确认物流单
     * 4.20.2、消息模板：您有新的物流单${物流单号}需要${处理动作}，请及时处理！
     *
     */
    logistics_order_confirm(MessageConstants.ability, "待确认物流单", "logistics", "您有新的物流单{0}需要处理[待确认物流单]，请及时处理！", "/memberCenter/logisticsAbility/logisticsBillManage/waitConfirmLogisticsBill", ""),

    // ==================================================生产通知单==================================================
    /**
     * 能力中心首页
     * 4.21、加工能力--指派生产通知单
     * 4.21.1、指派生产通知单需要发送的消息：待提交审核生产通知单、待审核生产通知单（一级）、待审核生产通知单（二级）、待提交生产通知单、待新增加工入库单、待收货生产通知单
     * 4.21.2、消息模板：您有新的生产通知单${通知单号}${通知单摘要}需要${处理动作}，请及时处理！
     *
     */
    production_order_wait_audit(MessageConstants.ability, "指派生产通知单", "process", "您有新的生产通知单{0}{1}需要处理[待提交审核生产通知单]，请及时处理！", "/memberCenter/handling/assign/tobeAddQuery", ""),
    production_order_audit_step_1(MessageConstants.ability, "指派生产通知单", "process", "您有新的生产通知单{0}{1}需要处理[待审核生产通知单（一级）]，请及时处理！", "/memberCenter/handling/assign/pendingFirst", ""),
    production_order_audit_step_2(MessageConstants.ability, "指派生产通知单", "process", "您有新的生产通知单{0}{1}需要处理[待审核生产通知单（二级）]，请及时处理！", "/memberCenter/handling/assign/pendingSecond", ""),
    production_order_submit(MessageConstants.ability, "指派生产通知单", "process", "您有新的生产通知单{0}{1}需要处理[待提交生产通知单]，请及时处理！", "/memberCenter/handling/assign/pendingSubmit", ""),
    production_order_storage(MessageConstants.ability, "指派生产通知单", "process", "您有新的生产通知单{0}{1}需要处理[待新增加工入库单]，请及时处理！", "/memberCenter/handling/assign/pendingAddProcessing", ""),
    production_order_receive(MessageConstants.ability, "指派生产通知单", "process", "您有新的生产通知单{0}{1}需要处理[待收货生产通知单]，请及时处理！", "/memberCenter/handling/assign/pendingReceive", ""),

    /**
     * 能力中心首页
     * 4.22、加工能力--生产通知单处理
     * 4.22.1、生产通知单处理需要发送的消息：待提交审核生产通知单、待审核生产通知单（一级）、待审核生产通知单（二级）、待确认生产通知单、待新增加工发货单、待新增物流单、待发货生产通知单、待确认回单生产通知单
     * 4.22.2、消息模板：您有新的生产通知单${通知单号}${通知单摘要}需要${处理动作}，请及时处理！
     *
     */
    production_order_handle_wait_audit(MessageConstants.ability, "生产通知单处理", "process", "您有新的生产通知单{0}{1}需要处理[待提交审核生产通知单]，请及时处理！", "/memberCenter/handling/confirm/pendingSubmit", ""),
    production_order_handle_audit_step_1(MessageConstants.ability, "生产通知单处理", "process", "您有新的生产通知单{0}{1}需要处理[待审核生产通知单（一级）]，请及时处理！", "/memberCenter/handling/confirm/pendingFirst", ""),
    production_order_handle_audit_step_2(MessageConstants.ability, "生产通知单处理", "process", "您有新的生产通知单{0}{1}需要处理[待审核生产通知单（二级）]，请及时处理！", "/memberCenter/handling/confirm/pendingSecond", ""),
    production_order_handle_confirm(MessageConstants.ability, "生产通知单处理", "process", "您有新的生产通知单{0}{1}需要处理[待确认生产通知单]，请及时处理！", "/memberCenter/handling/confirm/pendingConfirm", ""),
    production_order_handle_process_shipment(MessageConstants.ability, "生产通知单处理", "process", "您有新的生产通知单{0}{1}需要处理[待新增加工发货单]，请及时处理！", "/memberCenter/handling/confirm/processingInvoiceTobeAdd", ""),
    production_order_handle_logistics(MessageConstants.ability, "生产通知单处理", "process", "您有新的生产通知单{0}{1}需要处理[待新增物流单]，请及时处理！", "/memberCenter/handling/confirm/pendingAddLogistics", ""),
    production_order_handle_shipment(MessageConstants.ability, "生产通知单处理", "process", "您有新的生产通知单{0}{1}需要处理[待发货生产通知单]，请及时处理！", "/memberCenter/handling/confirm/pendingDelivered", ""),
    production_order_handle_receipt(MessageConstants.ability, "生产通知单处理", "process", "您有新的生产通知单{0}{1}需要处理[待确认回单生产通知单]，请及时处理！", "/memberCenter/handling/confirm/pendingReceipt", ""),

    // ==================================================售后==================================================
    /**
     * 能力中心首页
     * 4.23、售后能力--售后换货申请
     * 4.23.1、售后换货申请需要发送的消息：待提交换货申请单、待新增退货发货单、待新增物流单、待退货发货、待确认退货回单、待新增换货入库单、待换货收货、待确认售后完成
     * 4.23.2、消息模板：您有新的售后换货申请单${申请单号}${申请单摘要}需要${处理动作}，请及时处理！
     *
     */
    replace_goods_apply(MessageConstants.ability, "售后换货申请", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待提交换货申请单]，请及时处理！", "/memberCenter/afterService/exchangeApplication/exchangePrSubmit", ""),
    replace_goods_add_return_shipment(MessageConstants.ability, "售后换货申请", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待新增退货发货单]，请及时处理！", "/memberCenter/afterService/exchangeApplication/exchangePrAddDeliver", ""),
    replace_goods_logistics(MessageConstants.ability, "售后换货申请", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待新增物流单]，请及时处理！", "/memberCenter/afterService/exchangeApplication/exchangePrAddLogistics", ""),
    replace_goods_return_shipment(MessageConstants.ability, "售后换货申请", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待退货发货]，请及时处理！", "/memberCenter/afterService/exchangeApplication/exchangePrDeliver", ""),
    replace_goods_confirm_return(MessageConstants.ability, "售后换货申请", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待确认退货回单]，请及时处理！", "/memberCenter/afterService/exchangeApplication/exchangePrConfirmBack", ""),
    replace_goods_storage(MessageConstants.ability, "售后换货申请", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待新增换货入库单]，请及时处理！", "/memberCenter/afterService/exchangeApplication/exchangePrAddWarehousing", ""),
    replace_goods_replace_receive(MessageConstants.ability, "售后换货申请", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待换货收货]，请及时处理！", "/memberCenter/afterService/exchangeApplication/exchangePrReceived", ""),
    replace_goods_confirm(MessageConstants.ability, "售后换货申请", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待确认售后完成]，请及时处理！", "/memberCenter/afterService/exchangeApplication/exchangePrFinished", ""),

    /**
     * 能力中心首页
     * 4.24、售后能力--售后换货处理
     * 4.24.1、售后换货处理需要发送的消息：待提交审核换货申请单、待审核换货申请单（一级）、待审核换货申请单（二级）、待确认换货申请单、待新增退货入库单、待退货收货、待新增换货发货单、待新增物流单、待换货发货、待确认换货回单
     * 4.24.2、消息模板：您有新的售后换货申请单${申请单号}${申请单摘要}需要${处理动作}，请及时处理！
     *
     */
    replace_goods_handle_wait_audit(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待提交审核换货申请单]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePrSubmit", ""),
    replace_goods_handle_audit_step_1(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待审核换货申请单（一级）]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePr1", ""),
    replace_goods_handle_audit_step_2(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待审核换货申请单（二级）]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePr2", ""),
    replace_goods_handle_confirm(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待确认换货申请单]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePrConfirm", ""),
    replace_goods_handle_add_return_storage(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待新增退货入库单]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePrAddWarehousing", ""),
    replace_goods_handle_return_receive(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待退货收货]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePrReceived", ""),
    replace_goods_handle_add_replace_shipment(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待新增换货发货单]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePrAddDeliver", ""),
    replace_goods_handle_logistics(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待新增物流单]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePrAddLogistics", ""),
    replace_goods_handle_replace_shipment(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待换货发货]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePrDeliver", ""),
    replace_goods_handle_confirm_replace(MessageConstants.ability, "售后换货处理", "after_sale", "您有新的售后换货申请单{0}{1}需要处理[待确认换货回单]，请及时处理！", "/memberCenter/afterService/exchangeManage/exchangePrConfirmBack", ""),

    /**
     * 能力中心首页
     * 4.25、售后能力--售后退货申请
     * 4.25.1、售后退货申请需要发送的消息：待提交退货申请单、待新增退货发货单、待新增物流单、待退货发货、待确认退货回单、待确认退款结果、待确认售后完成
     * 4.25.2、消息模板：您有新的售后退货申请单${申请单号}${申请单摘要}需要${处理动作}，请及时处理！
     *
     */
    return_goods_apply(MessageConstants.ability, "售后退货申请", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待提交退货申请单]，请及时处理！", "/memberCenter/afterService/returnApplication/returnPrSubmit", ""),
    return_goods_shipment(MessageConstants.ability, "售后退货申请", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待新增退货发货单]，请及时处理！", "/memberCenter/afterService/returnApplication/returnPrAddDeliver", ""),
    return_goods_logistics(MessageConstants.ability, "售后退货申请", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待新增物流单]，请及时处理！", "/memberCenter/afterService/returnApplication/returnPrAddLogistics", ""),
    return_goods_return_shipment(MessageConstants.ability, "售后退货申请", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待退货发货]，请及时处理！", "/memberCenter/afterService/returnApplication/returnPrDeliver", ""),
    return_goods_confirm_return(MessageConstants.ability, "售后退货申请", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待确认退货回单]，请及时处理！", "/memberCenter/afterService/returnApplication/returnPrConfirmBack", ""),
    return_goods_confirm_refund(MessageConstants.ability, "售后退货申请", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待确认退款结果]，请及时处理！", "/memberCenter/afterService/returnApplication/returnPrConfirmResult", ""),
    return_goods_confirm(MessageConstants.ability, "售后退货申请", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待确认售后完成]，请及时处理！", "/memberCenter/afterService/returnApplication/returnPrConfirmFinish", ""),

    /**
     * 能力中心首页
     * 4.26、售后能力--售后退货处理
     * 4.26.1、售后退货处理需要发送的消息：待提交审核退货申请单、待审核退货申请单（一级）、待审核退货申请单（二级）、待确认退货申请单、待新增退货入库单、待退货收货、待退款
     * 4.26.2、消息模板：您有新的售后退货申请单${申请单号}${申请单摘要}需要${处理动作}，请及时处理！
     *
     * 平台首页
     * 4.9、退货申请单管理--待退款
     * 4.9.1、退货申请单管理需要发送的消息：待退款
     * 4.9.2、消息模板：您有新的售后退货申请单${申请单号}${申请单摘要}需要${处理动作}，请及时处理！
     *
     */
    return_goods_handle_wait_audit(MessageConstants.ability, "售后退货处理", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待提交审核退货申请单]，请及时处理！", "/memberCenter/afterService/returnManage/returnPrSubmit", ""),
    return_goods_handle_audit_step_1(MessageConstants.ability, "售后退货处理", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待审核退货申请单（一级）]，请及时处理！", "/memberCenter/afterService/returnManage/returnPr1", ""),
    return_goods_handle_audit_step_2(MessageConstants.ability, "售后退货处理", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待审核退货申请单（二级）]，请及时处理！", "/memberCenter/afterService/returnManage/returnPr2", ""),
    return_goods_handle_confirm(MessageConstants.ability, "售后退货处理", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待确认退货申请单]，请及时处理！", "/memberCenter/afterService/returnManage/returnPrConfirm", ""),
    return_goods_handle_add_return_storage(MessageConstants.ability, "售后退货处理", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待新增退货入库单]，请及时处理！", "/memberCenter/afterService/returnManage/returnPrAddWarehousing", ""),
    return_goods_handle_return_receive(MessageConstants.ability, "售后退货处理", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待退货收货]，请及时处理！", "/memberCenter/afterService/returnManage/returnPrReceived", ""),
    return_goods_handle_refund(MessageConstants.ability, "售后退货处理", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待退款]，请及时处理！", "/memberCenter/afterService/returnManage/returnPrReturn", ""),
    return_goods_handle_platform_refund(MessageConstants.platform, "售后退货处理", "after_sale", "您有新的售后退货申请单{0}{1}需要处理[待退款]，请及时处理！", "/returnManage/returnPrReturn", ""),
    /**
     * 能力中心首页
     * 4.27、售后能力--售后维修申请
     * 4.27.1、售后维修申请需要发送的消息：维修申请单确认之后
     * 4.27.2、消息模板：您的售后维修申请单${申请单号}${申请单摘要}，${供应会员名称}确认${确认结果}，请及时处理！
     *
     */
    repair_goods_apply_agree(MessageConstants.ability, "售后维修申请", "after_sale", "您的售后维修申请单{0}{1}，{2}确认审核通过，请及时处理！", "/memberCenter/afterService/repairApplication/repairPrSubmit", ""),
    repair_goods_apply_refuse(MessageConstants.ability, "售后维修申请", "after_sale", "您的售后维修申请单{0}{1}，{2}确认审核不通过，请及时处理！", "/memberCenter/afterService/repairApplication/repairPrFinished", ""),

    /**
     * 能力中心首页
     * 4.28、售后能力--售后维修处理
     * 4.28.1、售后维修处理需要发送的消息：待提交审核维修申请单、待审核维修申请单（一级）、待审核维修申请单（二级）、待确认维修申请单
     * 4.28.2、消息模板：您有新的售后维修申请单${申请单号}${申请单摘要}需要${处理动作}，请及时处理！
     */
    repair_goods_handle_wait_audit(MessageConstants.ability, "售后维修处理", "after_sale", "您有新的售后维修申请单{0}{1}需要处理[待提交审核维修申请单]，请及时处理！", "/memberCenter/afterService/repairManage/repairPrSubmit", ""),
    repair_goods_handle_audit_step_1(MessageConstants.ability, "售后维修处理", "after_sale", "您有新的售后维修申请单{0}{1}需要处理[待审核维修申请单（一级）]，请及时处理！", "/memberCenter/afterService/repairManage/repairPr1", ""),
    repair_goods_handle_audit_step_2(MessageConstants.ability, "售后维修处理", "after_sale", "您有新的售后维修申请单{0}{1}需要处理[待审核维修申请单（二级）]，请及时处理！", "/memberCenter/afterService/repairManage/repairPr2", ""),
    repair_goods_handle_confirm(MessageConstants.ability, "售后维修处理", "after_sale", "您有新的售后维修申请单{0}{1}需要处理[待确认维修申请单]，请及时处理！", "/memberCenter/afterService/repairManage/repairPrConfirm", ""),

    // ==================================================招投标==================================================

    /**
     * 能力中心首页
     * 4.29、采购能力--招标
     * 4.29.1、招标需要发送的消息：待提交审核招标、待审核招标（一级）、待审核招标（二级）、待提交招标、待审核报名、待资格预审、待专家评标、待提交评标报告、待定标、待审核定标(一级)、待审核定标(二级)、待确认定标、待中标公示
     * 4.29.2、消息模板：您有新的招标${招标编号}${招标项目}需要${处理动作}，请及时处理！
     *
     * 平台首页
     * 4.10、招标审核--待审核招标
     * 4.10.1、招标审核需要发送的消息：待审核招标
     * 4.10.2、消息模板：您有新的招标项目${招标编号}${招标摘要}需要${处理动作}，请及时处理
     *
     **/
    bidding_wait_audit(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待提交审核招标]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readyAddBid", ""),
    bidding_audit_step_1(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待审核招标（一级）]，请及时处理！", "/memberCenter/procurementAbility/callForBids/firstCheckedBid", ""),
    bidding_audit_step_2(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待审核招标（二级）]，请及时处理！", "/memberCenter/procurementAbility/callForBids/secondCheckedBid", ""),
    bidding_submit(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待提交招标]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readySubmitBid", ""),
    bidding_platform_audit(MessageConstants.platform, "招标", "bt", "您有新的招标项目{0}{1}需要[待审核招标]，请及时处理", "/procurement/readyCheckBid", ""),
    bidding_audit_register(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待审核报名]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readyCheckedRegister", ""),
    bidding_qualification_audit(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待资格预审]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readyQualifityChecked", ""),
    bidding_expert_evaluate(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待专家评标]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readyExpertRemark", ""),
    bidding_evaluate_report_submit(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待提交评标报告]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readySubmitReport", ""),
    bidding_wait_picketage(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待定标]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readyConfirmBid", ""),
    bidding_picketage_step_1(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待审核定标(一级)]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readyCheckedConfirmFirst", ""),
    bidding_picketage_step_2(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待审核定标(二级)]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readyCheckedConfirmSecond", ""),
    bidding_confirm_picketage(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待确认定标]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readyPassBid", ""),
    bidding_win_publicity(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待中标公示]，请及时处理！", "/memberCenter/procurementAbility/callForBids/readySendBidNotice", ""),

    /**
     * 4.30、采购能力--投标
     * 4.30.1、投标需要发送的消息：待招标报名、待提交资格预审、待提交审核投标、待审核投标（一级）、待审核投标（二级）、待提交投标
     * 4.30.2、消息模板：您有新的招标${招标编号}${招标项目}需要${处理动作}，请及时处理！
     *
     **/
    tendering_register(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待招标报名]，请及时处理！", "/memberCenter/procurementAbility/tender/readyBidRegister", ""),
    tendering_qualification_audit(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待提交资格预审]，请及时处理！", "/memberCenter/procurementAbility/tender/readyQualifityChecked", ""),
    tendering_wait_audit(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待提交审核投标]，请及时处理！", "/memberCenter/procurementAbility/tender/readyAddTender", ""),
    tendering_audit_step_1(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待审核投标（一级）]，请及时处理！", "/memberCenter/procurementAbility/tender/firstCheckedTender", ""),
    tendering_audit_step_2(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待审核投标（二级）]，请及时处理！", "/memberCenter/procurementAbility/tender/secondCheckedTender", ""),
    tendering_submit(MessageConstants.ability, "招标", "bt", "您有新的招标{0}{1}需要处理[待提交投标]，请及时处理！", "/memberCenter/procurementAbility/tender/readySubmitTender", ""),

    /**
     * 中标公示
     * 2、如果勾选了发送中标通知，则发送一条中标消息通知给中标方，且投标界面可查看中标通知内容及中标通知附件
     *    消息模板：您有新中标通知${招标编号}${招标项目}中标金额${中标金额}，请及时处理！
     * 3、如果勾选了发送感谢函，则发送一条未中标通知消息通知给未中标方，且投标界面可查看感谢函内容
     *    消息模板：您有新未中标通知${招标编号}${招标项目}，请及时处理！
     */
    bidding_win_publicity_success(MessageConstants.ability, "招标", "bt", "您有新中标通知{0}{1}中标金额{2}，请及时处理！", "", ""),
    bidding_win_publicity_fail(MessageConstants.ability, "招标", "bt", "您有新未中标通知{0}{1}，请及时处理！", "", ""),

    /**
     * 专家抽取通知
     * 确认后状态为已确认专家抽取通知或已拒绝专家抽取通知并将操作记录到单据记录中 ，并发送一条消息通知给到发送专家抽取的人（消息模板：您有新的专家抽取通知{确认/拒绝}，请及时处理！）
     */
    bidding_expert_extract_agree(MessageConstants.ability, "招标", "bt", "您有新的专家抽取通知[确认]，请及时处理！", "/memberCenter/procurementAbility/callForBids/extractNoticeManage", ""),
    bidding_expert_extract_refuse(MessageConstants.ability, "招标", "bt", "您有新的专家抽取通知[拒绝]，请及时处理！", "/memberCenter/procurementAbility/callForBids/extractNoticeManage", ""),

    // ==================================================需求计划==================================================

    /**
     *
     * 4.31、采购能力--需求计划管理
     * 4.31.1、需求计划需要发送的消息：待提交审核需求计划、待审核需求计划（一级）、待审核需求计划（二级）、待提交需求计划
     * 4.31.2、消息模板：您有新的需求计划${需求计划编号}${需求计划摘要}需要${处理动作}，请及时处理！
     *
     **/
    demand_project_wait_audit(MessageConstants.ability, "需求计划", "dp", "您有新的需求计划{0}{1}需要处理[待提交审核需求计划]，请及时处理！", "/memberCenter/procurementAbility/demandPlan/demandPlanAdded", ""),
    demand_project_audit_step_1(MessageConstants.ability, "需求计划", "dp", "您有新的需求计划{0}{1}需要处理[待审核需求计划（一级）]，请及时处理！", "/memberCenter/procurementAbility/demandPlan/demandPlanOne", ""),
    demand_project_audit_step_2(MessageConstants.ability, "需求计划", "dp", "您有新的需求计划{0}{1}需要处理[待审核需求计划（二级）]，请及时处理！", "/memberCenter/procurementAbility/demandPlan/demandPlanTwo", ""),
    demand_project_submit(MessageConstants.ability, "需求计划", "dp", "您有新的需求计划{0}{1}需要处理[待提交需求计划]，请及时处理！", "/memberCenter/procurementAbility/demandPlan/demandPlanSubmit", ""),

    // ==================================================采购计划==================================================
    /**
     *
     * 4.32、采购能力--采购计划管理
     * 4.32.1、采购计划需要发送的消息：待汇总需求计划
     * 4.32.2、消息模板：您有新的待汇总需求计划${需求计划编号}${需求计划摘要}需要处理，请及时处理！
     * 4.32.3、采购计划需要发送的消息：待提交审核采购计划、待审核采购计划（一级）、待审核采购计划（二级）、待提交采购计划
     * 4.32.4、消息模板：您有新的采购计划${采购计划编号}${采购计划摘要}需要${处理动作}，请及时处理！
     *
     **/
    purchase_project_wait_audit(MessageConstants.ability, "采购计划", "pp", "您有新的采购计划{0}{1}需要[待提交审核采购计划]，请及时处理！", "/memberCenter/procurementAbility/purchasePlan/purchasePlanSubmit", ""),
    purchase_project_audit_step_1(MessageConstants.ability, "采购计划", "pp", "您有新的采购计划{0}{1}需要[待审核采购计划（一级）]，请及时处理！", "/memberCenter/procurementAbility/purchasePlan/purchasePlanOne", ""),
    purchase_project_audit_step_2(MessageConstants.ability, "采购计划", "pp", "您有新的采购计划{0}{1}需要[待审核采购计划（二级）]，请及时处理！", "/memberCenter/procurementAbility/purchasePlan/purchasePlanTwo", ""),
    purchase_project_submit(MessageConstants.ability, "采购计划", "pp", "您有新的采购计划{0}{1}需要[待提交采购计划]，请及时处理！", "/memberCenter/procurementAbility/purchasePlan/purchasePlanPerform", ""),
    purchase_project_summary(MessageConstants.ability, "采购计划", "pp", "您有新的待汇总需求计划{0}{1}需要处理，请及时处理！", "/memberCenter/procurementAbility/purchasePlan/demandPlanSummary", ""),

    // ==================================================合同==================================================
    /**
     *
     * 4.33、合同能力--电子签章
     * 4.33.1、电子签章需要发送的消息：电子签章申请审核通过、电子签章申请审核不通过
     * 4.33.2、消息模板：您申请的电子签章，审核${审核结果}，请及时处理！
     *
     **/
    contract_sign_agree(MessageConstants.ability, "电子签章", "contract_sign", "您申请的电子签章，审核通过，请及时处理！", "/memberCenter/contract/ElectronicSignature/apply", ""),
    contract_sign_refuse(MessageConstants.ability, "电子签章", "contract_sign", "您申请的电子签章，审核不通过，请及时处理！", "/memberCenter/contract/ElectronicSignature/apply", ""),

    /**
     *
     * 4.34、合同能力--合同管理
     * 4.34.1、合同管理需要发送的消息：待创建采购询价合同
     * 4.34.2、消息模板：您有新的采购询价合同${需求单号}${需求摘要}需要创建，请及时处理！
     * 4.34.3、合同管理需要发送的消息：待创建采购招标合同
     * 4.34.4、消息模板：您有新的采购招标合同${招标编号}${招标项目}需要创建，请及时处理！
     * 4.34.5、合同管理需要发送的消息：待提交合同、待提交审核合同、待审核合同（一级）、待审核合同（二级）、待签订合同
     * 4.34.6、消息模板：您有新的合同${合同编号}${合同摘要}需要${处理动作}，请及时处理！
     *
     **/
    contract_manage_purchase_create(MessageConstants.ability, "合同", "contract", "您有新的采购询价合同{0}{1}需要创建，请及时处理！", "/memberCenter/contract/manage/purchase", ""),
    contract_manage_bidding_create(MessageConstants.ability, "合同", "contract", "您有新的采购招标合同{0}{1}需要创建，请及时处理！", "/memberCenter/contract/manage/bidding", ""),
    contract_manage_purchase_bidding_create(MessageConstants.ability, "合同", "contract", "您有新的采购竞价合同{0}{1}需要创建，请及时处理！", "/memberCenter/contract/manage/Auction", ""),
    contract_manage_wait_submit(MessageConstants.ability, "合同", "contract", "您有新的合同{0}{1}需要[待提交合同]，请及时处理！", "/memberCenter/contract/manage/add/addList", ""),
    contract_manage_wait_audit(MessageConstants.ability, "合同", "contract", "您有新的合同{0}{1}需要[待提交审核合同]，请及时处理！", "/memberCenter/contract/manage/examine", ""),
    contract_manage_audit_step_1(MessageConstants.ability, "合同", "contract", "您有新的合同{0}{1}需要[待审核合同（一级）]，请及时处理！", "/memberCenter/contract/manage/levelexamine", ""),
    contract_manage_audit_step_2(MessageConstants.ability, "合同", "contract", "您有新的合同{0}{1}需要[待审核合同（二级）]，请及时处理！", "/memberCenter/contract/manage/secondaryexamine", ""),
    contract_manage_wait_sign(MessageConstants.ability, "合同", "contract", "您有新的合同{0}{1}需要待签订合同]，请及时处理！", "/memberCenter/contract/manage/signacontract", ""),

    /**
     *
     * 4.35、合同能力--合同协同
     * 4.35.1、合同协同需要发送的消息：待提交审核合同、待审核合同（一级）、待审核合同（二级）、待签订合同
     * 4.35.2、消息模板：您有新的合同${合同编号}${合同摘要}需要${处理动作}，请及时处理！
     *
     **/
    contract_synergy_wait_audit(MessageConstants.ability, "合同", "contract", "您有新的合同{0}{1}需要[待提交审核合同]，请及时处理！", "/memberCenter/contract/coordination/pageToBeSubmitExamine", ""),
    contract_synergy_audit_step_1(MessageConstants.ability, "合同", "contract", "您有新的合同{0}{1}需要[待审核合同（一级）]，请及时处理！", "/memberCenter/contract/coordination/pageToBeExamineOne", ""),
    contract_synergy_audit_step_2(MessageConstants.ability, "合同", "contract", "您有新的合同{0}{1}需要[待审核合同（二级）]，请及时处理！", "/memberCenter/contract/coordination/pageToBeExamineTwo", ""),
    contract_synergy_wait_sign(MessageConstants.ability, "合同", "contract", "您有新的合同{0}{1}需要[待签订合同]，请及时处理！", "/memberCenter/contract/coordination/sign", ""),
    /**
     *
     * 4.36、合同能力--合同请款
     * 4.36.1、合同请款需要发送的消息：待提交审核请款单、待审核请款单（一级）、待审核请款单（二级）、待提交请款单
     * 4.36.2、消息模板：您有新的请款单${请款单号}${请款单摘要}需要${处理动作}，请及时处理！
     *
     **/
    contract_cash_wait_audit(MessageConstants.ability, "合同", "contract", "您有新的请款单{0}{1}需要[待提交审核请款单]，请及时处理！", "/memberCenter/contract/funds/addbill", ""),
    contract_cash_audit_step_1(MessageConstants.ability, "合同", "contract", "您有新的请款单{0}{1}需要[待审核请款单（一级）]，请及时处理！", "/memberCenter/contract/funds/levelpayment", ""),
    contract_cash_audit_step_2(MessageConstants.ability, "合同", "contract", "您有新的请款单{0}{1}需要[待审核请款单（二级）]，请及时处理！", "/memberCenter/contract/funds/secondpayment", ""),
    contract_cash_submit(MessageConstants.ability, "合同", "contract", "您有新的请款单{0}{1}需要[待提交请款单]，请及时处理！", "/memberCenter/contract/funds/submitpayment", ""),

    // ==================================================竞价==================================================
    /**
     * 能力中心首页
     * 4.37、采购能力--采购竞价
     * 4.37.1、采购竞价需要发送的消息：待提交审核采购竞价单、待审核采购竞价单（一级）、待审核采购竞价单（二级）、待提交采购竞价单、待审核竞价报名、待竞价、待提交审核竞价结果、待审核竞价结果（一级）、待审核竞价结果 （二级）、待提交竞价结果
     * 4.37.2、消息模板：您有新的采购竞价单${采购竞价单号}${竞价单摘要}需要${处理动作}，请及时处理！
     *
     * 平台首页
     * 4.10、招标审核--待审核招标
     * 4.10.1、招标审核需要发送的消息：待审核招标
     * 4.10.2、消息模板：您有新的招标项目${招标编号}${招标摘要}需要${处理动作}，请及时处理！
     *
     **/
    purchase_bidding_wait_audit(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待提交审核采购竞价单]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readyAdd", ""),
    purchase_bidding_audit_step_1(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待审核采购竞价单（一级）]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readyExamineOne", ""),
    purchase_bidding_audit_step_2(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待审核采购竞价单（二级）]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readyExamineTwo", ""),
    purchase_bidding_submit(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待提交采购竞价单]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readySubmit", ""),
    purchase_bidding_platform_audit(MessageConstants.platform, "采购竞价", "pb", "您有新的招标项目{0}{1}需要[待审核招标]，请及时处理！", "/purchaseManage/purchaseBid/demand/examineSearch", ""),
    purchase_bidding_audit_register(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待审核竞价报名]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readyExamineSignUp", ""),
    purchase_bidding_wait_bidding(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待竞价]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readyBid", ""),
    purchase_bidding_result_wait_audit(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待提交审核竞价结果]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readySubmitExamineResult", ""),
    purchase_bidding_result_audit_step_1(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待审核竞价结果（一级）]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readyExamineResultOne", ""),
    purchase_bidding_result_audit_step_2(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待审核竞价结果 （二级）]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readyExamineResultTwo", ""),
    purchase_bidding_result_submit(MessageConstants.ability, "采购竞价", "pb", "您有新的采购竞价单{0}{1}需要[待提交竞价结果]，请及时处理！", "/memberCenter/procurementAbility/purchaseBid/readyConfirm", ""),

    /**
     * 4.38、采购能力--在线竞价
     * 4.38.1、在线竞价需要发送的消息：待竞价报名、待竞价
     * 4.38.2、消息模板：您有新的采购竞价单${采购竞价单号}${竞价单摘要}需要${处理动作}，请及时处理！
     *
     **/
    purchase_bidding_wait_register(MessageConstants.ability, "在线竞价", "pb", "您有新的采购竞价单{0}{1}需要[待竞价报名]，请及时处理！", "/memberCenter/procurementAbility/onlineBid/readySignUp", ""),
    purchase_bidding_bidding(MessageConstants.ability, "在线竞价", "pb", "您有新的采购竞价单{0}{1}需要[待竞价]，请及时处理！", "/memberCenter/procurementAbility/onlineBid/readyBid", ""),

    // ==================================================会员管理==================================================

    /**
     *
     * 4.39、会员能力--会员管理
     * 4.39.1、会员申请入库需要发送的消息：待审核入库资料、待审核入库资质、待入库考察、待入库分类、待审核入库(一级)、待审核入库(二级)、待确认入库，以上消息需要根据工作流情况增加或减少
     * 4.39.2、消息模板：您有申请入库的会员${会员角色：会员名称}需要${处理动作}，请及时处理！
     * 4.39.3、会员变更需要发送的消息：待审核会员变更(一级)、待审核会员变更(二级)、待确认会员变更，以上消息需要根据工作流情况增加或减少
     * 4.39.4、消息模板：您有变更的会员${会员角色：会员名称}需要${处理动作}，请及时处理！
     *
     **/
    mc_storage_info_audit(MessageConstants.ability, "会员管理", "member", "您有申请入库的会员{0}：{1}需要处理[待审核入库资料]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyComingData", ""),
    mc_storage_qualification_audit(MessageConstants.ability, "会员管理", "member", "您有申请入库的会员{0}：{1}需要处理[待审核入库资质]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyComingQualifications", ""),
    mc_storage_inspect(MessageConstants.ability, "会员管理", "member", "您有申请入库的会员{0}：{1}需要处理[待入库考察]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrComingInvestigate", ""),
    mc_storage_classify(MessageConstants.ability, "会员管理", "member", "您有申请入库的会员{0}：{1}需要处理[待入库分类]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrComingClassify", ""),
    mc_storage_audit_step_1(MessageConstants.ability, "会员管理", "member", "您有申请入库的会员{0}：{1}需要处理[待审核入库(一级)]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyComing1", ""),
    mc_storage_audit_step_2(MessageConstants.ability, "会员管理", "member", "您有申请入库的会员{0}：{1}需要处理[待审核入库(二级)]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyComing2", ""),
    mc_storage_confirm(MessageConstants.ability, "会员管理", "member", "您有申请入库的会员{0}：{1}需要处理[待确认入库]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyComingConfirm", ""),
    mc_modification_step_1(MessageConstants.ability, "会员管理", "member", "您有变更的会员{0}：{1}需要[待审核会员变更(一级)]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyChange1", ""),
    mc_modification_step_2(MessageConstants.ability, "会员管理", "member", "您有变更的会员{0}：{1}需要[待审核会员变更(二级)]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyChange2", ""),
    mc_modification_confirm(MessageConstants.ability, "会员管理", "member", "您有变更的会员{0}：{1}需要[待确认会员变更]，请及时处理！", "/memberCenter/memberAbility/manage/memberPrVerifyChangeConfirm", ""),


    /**
     *
     * 4.40、会员能力--会员考评
     * 4.40.1、会员考评需要发送的消息：待发布考评表、待考评打分、待提交汇总考评结果、待审核考评结果(一级)、待审核考评结果(二级)、待通报考评结果
     * 4.40.2、消息模板：您有考评的会员${会员角色：会员名称}需要${处理动作}，请及时处理！
     *
     **/
    mc_appraisal_publish(MessageConstants.ability, "会员考评", "appraisal", "您有考评的会员{0}：{1}需要[待发布考评表]，请及时处理！", "/memberCenter/memberAbility/memberEvaluate/createEvaluate", ""),
    mc_appraisal_grade(MessageConstants.ability, "会员考评", "appraisal", "您有考评的会员{0}：{1}需要[待考评打分]，请及时处理！", "/memberCenter/memberAbility/memberEvaluate/tobeEvaluate", ""),
    mc_appraisal_summary_result(MessageConstants.ability, "会员考评", "appraisal", "您有考评的会员{0}：{1}需要[待提交汇总考评结果]，请及时处理！", "/memberCenter/memberAbility/memberEvaluate/tobeSubmitSummary", ""),
    mc_appraisal_result_audit_step_1(MessageConstants.ability, "会员考评", "appraisal", "您有考评的会员{0}：{1}需要[待审核考评结果(一级)]，请及时处理！", "/memberCenter/memberAbility/memberEvaluate/tobeReviewI", ""),
    mc_appraisal_result_audit_step_2(MessageConstants.ability, "会员考评", "appraisal", "您有考评的会员{0}：{1}需要[待审核考评结果(二级)]，请及时处理！", "/memberCenter/memberAbility/memberEvaluate/tobeReviewII", ""),
    mc_appraisal_notification(MessageConstants.ability, "会员考评", "appraisal", "您有考评的会员{0}：{1}需要[待通报考评结果]，请及时处理！", "/memberCenter/memberAbility/memberEvaluate/tobeInformed", ""),

    /**
     *
     * 4.41、会员能力--会员整改
     * 4.41.1、会员整改需要发送的消息：待发送整改通知、待确认整改结果
     * 4.41.2、消息模板：您有整改的会员${会员角色：会员名称}需要${处理动作}，请及时处理！
     *
     **/
    mc_rectify_notification(MessageConstants.ability, "会员整改", "rectify", "您有整改的会员{0}：{1}需要[待发送整改通知]，请及时处理！", "/memberCenter/memberAbility/memberRectification/rectificationAdd", ""),
    mc_rectify_result_confirm(MessageConstants.ability, "会员整改", "rectify", "您有整改的会员{0}：{1}需要[待确认整改结果]，请及时处理！", "/memberCenter/memberAbility/memberRectification/tobeConfirmRectification", ""),

    /**
     * 4.42、会员能力--会员信息查询--整改通知单管理
     * 4.42.1、会员整改需要发送的消息：待进行整改
     * 4.42.2、消息模板：您有整改的会员${会员角色：会员名称}需要${处理动作}，请及时处理！
     */
    mc_rectify_wait_rectify(MessageConstants.ability, "会员整改", "rectify", "您有整改的会员{0}：{1}需要[待进行整改]，请及时处理！", "/memberCenter/memberAbility/profile/memberRectification", ""),

    /**
     *
     * 4.43、渠道能力--业务员管理--绑定渠道
     * 4.42.1、业务员绑定渠道需要发送的消息：待业务员绑定渠道
     * 4.42.2、消息模板：您有${未绑定的渠道会员数量}个渠道会员待业务员绑定，未绑定的渠道会员的业务数据将无法处理，请及时绑定！
     */
    mc_channel_binding(MessageConstants.ability, "绑定渠道", "member", "您有{0}个渠道会员待业务员绑定，未绑定的渠道会员的业务数据将无法处理，请及时绑定！", "", ""),

    // ==================================================商城首页==================================================
    /**
     * 商城--物流服务
     * 如果当前物流公司非当前登录会员角色的下级会员，则显示：“该公司还不是我的会员，马上邀请成为我的会员。”文字，
     * 显示邀请成为会员按钮，点击邀请成为会员，发送一条消息给当前物流公司，
     * 消息模板：${当前登录会员名称}邀请您成为合作物流服务商，请点击本消息通知后申请成为${当前登录会员名称}的会员。
     * 该物流商收到此消息并点击后，跳转至会员能力--会员信息查询--申请会员页，自动创建当前物流公司向当前登录会员角色申请会员流程
     */
    pt_logistics_apply_member(MessageConstants.ability, "会员邀请", "invite_member", "{0}邀请您成为合作物流服务商，请点击本消息通知后申请成为{1}的会员。", "/memberCenter/memberAbility/profile/query/apply?upperMemberId={0}&upperRoleId={1}", ""),

    /**
     * 如果当前加工企业非当前登录会员角色的下级会员，则显示：“该公司还不是我的会员，马上邀请成为我的会员。”文字，
     * 显示邀请成为会员按钮，点击邀请成为会员，发送一条消息给当前加工企业，
     * 消息模板：${当前登录会员名称}邀请您成为合作加工服务商，请点击本消息通知后申请成为${当前登录会员名称}的会员。
     * 该加工企业收到此消息并点击后，跳转至会员能力--会员信息查询--申请会员页，自动创建当前加工企业向当前登录会员角色申请会员流程
     */
    pt_production_apply_member(MessageConstants.ability, "会员邀请", "invite_member", "{0}邀请您成为合作加工服务商，请点击本消息通知后申请成为{1}的会员。", "/memberCenter/memberAbility/profile/query/apply?upperMemberId={0}&upperRoleId={1}", ""),

    // ==================================================营销==================================================
    /**
     *商城--优惠券
     * 4.45、优惠券-未使用列表页面
     * 4.45.1、优惠券到账通知发送的消息：赠送促销赠优惠券
     * 4.45.2、消息模板：订单${订单号}已下单成功，获得赠送促销优惠券已到账，请注意查收哦！
     *
     **/
    marketing_gift_coupon(MessageConstants.ability, "促销优惠", "marketing", "订单${0}已下单成功，获得赠送促销优惠券已到账，请注意查收哦！", "/memberCenter/systemSetting/coupon", ""),

    ;

    public static void main(String[] args) {
        System.out.println(MessageNoticeEnum.procurement_order_wait_audit.getTemplate());
    }
    //统一前缀
    public static final  String sellOrderPre="您有新的订单";
    public static final  String productInquiryPre="您有新的询价单";

    private String target;
    private String title;
    /**
     * MessageBusinessTypeEnum
     */
    private String businessType;
    private String template;
    private String url;
    private String appUrl;

    public static final Map<String, MessageNoticeEnum> enumMap = Arrays.stream(values()).collect(Collectors.toMap(e -> e.name(), e -> e, (e1, e2) -> e2));

    MessageNoticeEnum(String target, String title, String businessType, String template, String url, String appUrl) {
        this.target = target;
        this.title = title;
        this.businessType = businessType;
        this.template = template;
        this.url = url;
        this.appUrl = appUrl;
    }

    public String getTitle() {
        String key=this.getClass().getSimpleName().concat(".").concat(this.name()).concat(".").concat("title");
        return LanguageHolder.getName(key);
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTemplate() {
        String key=this.getClass().getSimpleName().concat(".").concat(this.name()).concat(".").concat("template");
        return LanguageHolder.getName(key);
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getAppUrl() {
        return appUrl;
    }

    public void setAppUrl(String appUrl) {
        this.appUrl = appUrl;
    }
}
